package com.lxm.ymcc.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserDto {
    // 手机号
    @NotEmpty(message = "手机号不能为空")
    private String mobile;

    // 手机验证码
    @NotEmpty(message = "验证码不能为空")
    private String smsCode;
    // 密码
    @NotEmpty(message = "无效的密码")
    private String password;
    // 邀请码
    private int regChannel;


    @NotEmpty(message = "图片验证码不能为空")
    private String imageCode;
}
